package com.chenxin.wms.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.chenxin.wms.mapper.WorkshopMapper;
import com.chenxin.wms.domain.WorkshopEntity;
import com.chenxin.wms.service.IWorkshopService;

/**
 * 产线管理Service业务层处理
 * 
 * @author loujf
 * @date 2025-06-11
 */
@Service
public class WorkshopServiceImpl implements IWorkshopService 
{
    @Autowired
    private WorkshopMapper workshopMapper;

    /**
     * 查询产线管理
     * 
     * @param lineId 产线管理主键
     * @return 产线管理
     */
    @Override
    public WorkshopEntity selectWorkshopByLineId(Long lineId)
    {
        return workshopMapper.selectWorkshopByLineId(lineId);
    }

    /**
     * 查询产线管理列表
     * 
     * @param workshopEntity 产线管理
     * @return 产线管理
     */
    @Override
    public List<WorkshopEntity> selectWorkshopList(WorkshopEntity workshopEntity)
    {
        return workshopMapper.selectWorkshopList(workshopEntity);
    }
}
